(Fmove_to_column): Set next_boundary with correct start pt.
authorRichard M. Stallman <rms@gnu.org>
Sun, 8 Apr 2007 23:59:19 +0000 (23:59 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 8 Apr 2007 23:59:19 +0000 (23:59 +0000)
src/indent.c

index 828267c3abfb9ba96d5fd877ca86de6d20b6b3e2..b43120ab560f5733859d40cbdadcb0cb1f089b78 100644 (file)
@@ -951,7 +951,6 @@ The return value is the current column.  */)
   pos = PT;
   pos_byte = PT_BYTE;
   end = ZV;
-  next_boundary = pos;
 
   /* If we're starting past the desired column,
      back up to beginning of line and scan from there.  */
@@ -963,6 +962,8 @@ The return value is the current column.  */)
       col = 0;
     }
 
+  next_boundary = pos;
+
   while (pos < end)
     {
       while (pos == next_boundary)